Optimal. Leaf size=26 \[ \log (e x) (a+b \log (-1+e x))+b \text {Li}_2(1-e x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2441, 2352}
\begin {gather*} b \text {PolyLog}(2,1-e x)+\log (e x) (a+b \log (e x-1)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2352
Rule 2441
Rubi steps
\begin {align*} \int \frac {a+b \log (-1+e x)}{x} \, dx &=\log (e x) (a+b \log (-1+e x))-(b e) \int \frac {\log (e x)}{-1+e x} \, dx\\ &=\log (e x) (a+b \log (-1+e x))+b \text {Li}_2(1-e x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 27, normalized size = 1.04 \begin {gather*} a \log (x)+b \log (e x) \log (-1+e x)+b \text {Li}_2(1-e x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 26, normalized size = 1.00
method | result | size |
risch | \(\ln \left (x \right ) a +\ln \left (e x \right ) \ln \left (e x -1\right ) b +\dilog \left (e x \right ) b\) | \(24\) |
derivativedivides | \(a \ln \left (e x \right )+\ln \left (e x \right ) \ln \left (e x -1\right ) b +\dilog \left (e x \right ) b\) | \(26\) |
default | \(a \ln \left (e x \right )+\ln \left (e x \right ) \ln \left (e x -1\right ) b +\dilog \left (e x \right ) b\) | \(26\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 29, normalized size = 1.12 \begin {gather*} {\left (\log \left (x e - 1\right ) \log \left (x e\right ) + {\rm Li}_2\left (-x e + 1\right )\right )} b + a \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 2.35, size = 66, normalized size = 2.54 \begin {gather*} a \log {\left (x \right )} + b \left (\begin {cases} - \operatorname {Li}_{2}\left (e x\right ) & \text {for}\: \frac {1}{\left |{x}\right |} < 1 \wedge \left |{x}\right | < 1 \\i \pi \log {\left (x \right )} - \operatorname {Li}_{2}\left (e x\right ) & \text {for}\: \left |{x}\right | < 1 \\- i \pi \log {\left (\frac {1}{x} \right )} - \operatorname {Li}_{2}\left (e x\right ) & \text {for}\: \frac {1}{\left |{x}\right |} < 1 \\- i \pi {G_{2, 2}^{2, 0}\left (\begin {matrix} & 1, 1 \\0, 0 & \end {matrix} \middle | {x} \right )} + i \pi {G_{2, 2}^{0, 2}\left (\begin {matrix} 1, 1 & \\ & 0, 0 \end {matrix} \middle | {x} \right )} - \operatorname {Li}_{2}\left (e x\right ) & \text {otherwise} \end {cases}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.16, size = 23, normalized size = 0.88 \begin {gather*} b\,{\mathrm {Li}}_{\mathrm {2}}\left (e\,x\right )+a\,\ln \left (x\right )+b\,\ln \left (e\,x-1\right )\,\ln \left (e\,x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________